<template>
  <div>
    <div class="top">
      <div class="left">
        <!-- 选择年份 -->
        <el-form :inline="true" :model="formInline">
          <el-form-item>
            <el-input v-model="formInline.year" size="mini" placeholder="请选择年份" />
          </el-form-item>
          <el-form-item>
            <el-button type="primary" size="mini">查询</el-button>
          </el-form-item>
        </el-form>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'index',
  data() {
    return {
      formInline: {
        year: ''
      }
    }
  }
}
</script>

<style lang="scss" scoped>
.top{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  box-sizing: border-box;
}
</style>
